package com.stedu.mapper;

import com.stedu.bean.Repairer;

import java.util.List;

public interface RepairerMapper {
    int insert(Repairer r);
    //根据ID删除
    int delete(Integer rid);
    //根据ID修改
    int update(Repairer r);
    //根据部门名称查询
    List<Repairer> selectByrname(String rname);
    //根据ID查询
    Repairer selectByRid(Integer rid);
    List<Repairer> selectAll();
    Repairer selectByRusername(String rusername);


}
